package org.x.mq.model;


public class OrderStatusEvent extends BaseEvent {
    private String status;
    private Object data;

    public OrderStatusEvent() {
        super("ORDER_CREATED");
    }

    public OrderStatusEvent(Object data) {
        super("ORDER_STATUS_CHANGED");
        this.data = data;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public Object getData() {
        return data;
    }
}
